<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .wrapper {
      margin-bottom: 20px;
    }
    .wrapper > div {
      height: 50px;
    }
    .one {
      background-color: deepskyblue;
      margin-bottom: 20px;
    }
    .two {
      background-color: deeppink;
      margin-top: -10px;
    }
    .three {
      background-color: deepskyblue;
      margin-bottom: 10px;
    }
    .four {
      background-color: deeppink;
      margin-top: -20px;
    }
    .five {
      background-color: deepskyblue;
      margin-bottom: -20px;
    }
    .six {
      background-color: deeppink;
      margin-top: -30px;
    }
    .seven {
      background-color: deepskyblue;
      margin-bottom: -20px;
    }
    .eight {
      background-color: deeppink;
    }
    .nine {
      background-color: deepskyblue;
      margin-top: -20px;
    }
    .ten {
      background-color: deeppink;
      margin-top: -20px;
    }
  </style>
</head>
<body>
  <div class="wrapper">
    <div class="one"></div>
    <div class="two"></div>
  </div>
  <div class="wrapper">
    <div class="three"></div>
    <div class="four"></div>
  </div>
  <div class="wrapper">
    <div class="five"></div>
    <div class="six"></div>
  </div>
  <div class="wrapper">
    <div class="seven"></div>
    <div class="eight"></div>
  </div>
  <div class="wrapper">
    <div class="nine"></div>
    <div class="ten"></div>
  </div>
</body>
</html>